package com.nx.platform.es.system.init;

//import com.nx.arch.common.util.Path;

/**
 * 初始化
 */
public class SystemInit {
    
    public final static String CONFIG_PATH =  "./config";
    
    public final static String SCF_KEY_PATH = CONFIG_PATH + "/scfkey.key";
    
    public final static String SCF_CONFIG_PATH = CONFIG_PATH + "/scf.config";
    
    /*
     * public final static String CONFIG_PATH = Path.getCurrentPath() + "/config";
     * 
     * private final static String SCF_KEY_PATH = CONFIG_PATH + "/scfkey.key";
     * 
     * private final static String SCF_CONFIG_PATH = CONFIG_PATH + "/scf.config";
     * 
     * @Autowired MQNotifierService app;
     * 
     * @Override public void init() {
     * 
     *//*
        * 初始化SCF配置
        *//*
           * log.info("========begin init ============"); if (new File(SCF_KEY_PATH).exists()) { SCFInit.initScfKey(SCF_KEY_PATH); } SCFInit.init(SCF_CONFIG_PATH); System.out.println("end scf init");
           * 
           * // new MQConsumer().start(); //初始化线程模型 app.startAsync().awaitRunning(); // TODO 服务内有用到idc生成ID就需要IdcMachineCode，没有就不需要 if (!IdcMachineCode.init()) { System.exit(0); } }
           */
    
}
